package com.xiangxiao.rpan.authority.model.base;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description :
 * @Author dyl
 * @Date 20:04 2018/7/4
 */
@Data
public class BaseEntity implements Serializable, Cloneable {

    private static final long serialVersionUID = 8691879625294655865L;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    protected Date createTime;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    protected Date updateTime;
}

